export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    locationNo: null,
    dvcNo: null,
    locationType: null,
    laneNum: null,
    rowNum: null,
    columnNum: null,
    levelNum: null,
    isMixed: null,
    highLevel: null,
    locationSide: null,
    status: null,
    contNo: null,
    isActive: null,
    zoneId: null,
    createName: null,
  },
  rules: {},
}

export const column = [
  { prop: "locationNo", label: "货位编号" ,width: "150px" },
  { prop: "dvcNo", label: "设备编号",width: "100px" },
  { prop: "locationType", label: "货位类型" },
  { prop: "laneNum", label: "巷道号" },
  { prop: "rowNum", label: "所在排" },
  { prop: "columnNum", label: "所在列" },
  { prop: "levelNum", label: "所在层" },
  // { prop: "isMixed", label: "是否混载" },
  // { prop: "highLevel", label: "货位高度" },
  // { prop: "locationSide", label: "货位位置" },
  { prop: "locationStatus", label: "货位状态" },
  { prop: "contNo", label: "容器编号" },
  { prop: "isActive", label: "可用状态" },
  { prop: "zoneId", label: "所属库区" },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", width: "180px" },
  { prop: "updateName", label: "更新者" },
  { prop: "updateDate", label: "更新时间", width: "180px" },
  { prop: "comments", label: "备注信息" ,showOverflow: true  },
  { prop: "operate", label: "操作", fixed: "right", type: 'detail' },
]

export const formList = [
  { prop: "locationNo", label: "货位编号" },
  { prop: "dvcNo", label: "设备编号" },
  { prop: "locationType", label: "货位类型" , type: 'select'},
  { prop: "rowNum", label: "排" },
  { prop: "columnNum", label: "列" },
  { prop: "levelNum", label: "层" },
  { prop: "isMixed", label: "是否混载" , type: 'select'},
  { prop: "highLevel", label: "货位高度" },
  { prop: "locationSide", label: "货位位置" },
  { prop: "locationStatus", label: "货位状态" , type: 'select'},
  { prop: "contNo", label: "容器编号" },
  { prop: "isActive", label: "可用状态", type: 'select' },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", type: 'date' },
  { prop: "comments", label: "备注信息" },
]